package com.bh.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.order.domain.JcOrderReceivingParty;

import java.util.List;

/**
 * 订单收发货方Service接口
 *
 * @author slx
 * @date 2023-04-22
 */
public interface IJcOrderReceivingPartyService extends IService<JcOrderReceivingParty> {
    /**
     * 查询订单收发货方
     *
     * @param id 订单收发货方主键
     * @return 订单收发货方
     */
    public JcOrderReceivingParty selectJcOrderReceivingpartyById(Long id);

    /**
     * 查询订单收发货方列表
     *
     * @param jcOrderReceivingparty 订单收发货方
     * @return 订单收发货方集合
     */
    public List<JcOrderReceivingParty> selectJcOrderReceivingpartyList(JcOrderReceivingParty jcOrderReceivingparty);

    /**
     * 查询订单收发货方列表
     *
     * @param orderId
     * @return 订单收发货方集合
     */
    public List<JcOrderReceivingParty> selectJcOrderReceivingpartyListByOrderId(Long orderId);

    /**
     * 新增订单收发货方
     *
     * @param jcOrderReceivingparty 订单收发货方
     * @return 结果
     */
    public int insertJcOrderReceivingparty(JcOrderReceivingParty jcOrderReceivingparty);

    /**
     * 修改订单收发货方
     *
     * @param jcOrderReceivingparty 订单收发货方
     * @return 结果
     */
    public int updateJcOrderReceivingparty(JcOrderReceivingParty jcOrderReceivingparty);

    /**
     * 批量删除订单收发货方
     *
     * @param ids 需要删除的订单收发货方主键集合
     * @return 结果
     */
    public int deleteJcOrderReceivingpartyByIds(Long[] ids);

    /**
     * 删除订单收发货方信息
     *
     * @param id 订单收发货方主键
     * @return 结果
     */
    public int deleteJcOrderReceivingpartyById(Long id);
}
